<?php
/**
 *
 * Author: Lyu
 * Date: 2023/7/22
 * Time: 15:12
 */

namespace App\Model\Core\Admin;

use App\Model\CoreModel;

class AdminLoginLogModel extends CoreModel
{

    protected string $table = 'admin_login_log';

    /**
     * 添加日志
     * @param array $data
     * @return int|bool
     */
    public function addLog(array $data): int|bool
    {
        return $this->getConnectionTable()->insert($data);
    }
}
